#include "StdAfx.h"
#include "DBConnHelper.h"


CDBConnHelper::CDBConnHelper(void)
{
	if (0x00 == CNHSQLServerDBO::OpenAccessDB(m_pConnection))
	{
	}
	else
	{
		m_pConnection = NULL;
	}
}


CDBConnHelper::~CDBConnHelper(void)
{
	if (m_pConnection != NULL)
	{
		CNHSQLServerDBO::CloseDB(m_pConnection);
	}
}
